﻿<!DOCTYPE html>
<html>
<head>
    <title>Using RequireJS with Angular.js</title>
    <meta charset="utf-8" />
    <style type="text/css">
        table, td, th {
            border: double;
        }
    </style>
</head>
<body>
    <div ng-controller="ctrl">
        <h1>Using RequireJS with Angular.js</h1>
        <table>
            <thead>
                <tr>
                    <th>Product Id</th>
                    <th>Product Name</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="p in Products">
                    <td>{{p.ProdId}}</td>
                    <td>{{p.ProdName}}</td>
                </tr>
            </tbody>
        </table>
        <div>{{Message}}</div>
    </div>
    <div ng-controller="ctrltodo">
        <div>MessageTodo:{{MessageTodo}}</div>
    </div>
    <script src="bower_components/requirejs/require.js" data-main="app/Main.js?v=1"></script>
</body>
</html>
